package com.wdh.kjs.model;

/**
 * Created by feifei on 2016/6/3.
 */
public class BaseModle {


    public boolean success;

    @Override
    public String toString() {
        return "BaseModle{" +
                "success=" + success +
                ", messageEncode='" + messageEncode + '\'' +
                ", mes='" + mes + '\'' +
                ", totalpages=" + totalpages +
                ", currentpage=" + currentpage +
                ", totalrecords=" + totalrecords +
                ", pagerows=" + pagerows +
                ", sort='" + sort + '\'' +
                ", order='" + order + '\'' +
                '}';
    }

    public String messageEncode;

    public String mes;
    public int totalpages;
    public int currentpage;
    public int totalrecords;
    public int pagerows;
    public String sort;
    public String order;
    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessageEncode() {
        return messageEncode;
    }

    public void setMessageEncode(String messageEncode) {
        this.messageEncode = messageEncode;
    }

    public String getMes() {
        return mes;
    }

    public void setMes(String mes) {
        this.mes = mes;
    }

    public int getTotalpages() {
        return totalpages;
    }

    public void setTotalpages(int totalpages) {
        this.totalpages = totalpages;
    }

    public int getCurrentpage() {
        return currentpage;
    }

    public void setCurrentpage(int currentpage) {
        this.currentpage = currentpage;
    }

    public int getTotalrecords() {
        return totalrecords;
    }

    public void setTotalrecords(int totalrecords) {
        this.totalrecords = totalrecords;
    }

    public int getPagerows() {
        return pagerows;
    }

    public void setPagerows(int pagerows) {
        this.pagerows = pagerows;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public BaseModle(boolean success, String messageEncode, String mes, int totalpages, int currentpage, int totalrecords, int pagerows, String sort, String order) {
        this.success = success;
        this.messageEncode = messageEncode;
        this.mes = mes;
        this.totalpages = totalpages;
        this.currentpage = currentpage;
        this.totalrecords = totalrecords;
        this.pagerows = pagerows;
        this.sort = sort;
        this.order = order;
    }



}
